Authentication to your google account may be done in two ways. ClientLogin (requires login and password) or OAuth (more complicated, requires user to supply refresh token).
Google JCA connector is named teiid-connector-google.rar. The examples include a sample google.xml file. The JCA connector has number of config-properties to drive authentication. The JCA connector connects to exactly one spreadsheet.
Config property
|
Description
|
AuthMethod
|
Method to access Google. This property can be set to one of: ClientLogin, OAuth2. If the setting is ClientLogin it is necessary to provide additional two config properties Username, Password. If the setting is OAuth2 it is necessary to provide RefreshToken.
|
RefreshToken
|
Use guide below to retrieve RefreshToken. Request access to Google Drive and Spreadsheet API. Applicable only if AuthMethod=OAuth2
|
Username
|
Username to Google account. Applicable only if AuthMethod=ClientLogin
|
Password
|
Password to Google account. Applicable only if AuthMethod=ClientLogin
|
SpreadsheetName
|
Required property with name of the Spreadsheet that is datasource for this connector.
|
BatchSize
|
Integer that designates how big will be portions of data loaded by this JCA Connector. Defaults to 1000.
|